ged how to determine function